package com.hp.dao;

import com.hp.pojo.History;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface HistoryMapper {
    /*Ouch*/
    //添加历史记录
    int AddHistory(History history);
    //删除历史记录
    int DelHistory(int historyId);
    //查询历史记录
    List<History> GetHistories();
}
